package com.ceiling.bean.promotion.ads.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data@AllArgsConstructor@NoArgsConstructor
public class AdsCreatedVO {
    private Integer id;

    private String name;

    private String url;

    private Integer position;

    private String content;

    private Boolean enabled;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date addTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date updateTime;


}
